package myenum;

import net.mindview.util.Enums;

import java.util.Arrays;
import java.util.Random;

enum Activity{SITTING,LYING,STANDING,HOPPING,RUNNIG,DODGING,JUMPING,FALLING,FLYING}

public class RandomTest {
    private static Random rand = new Random(47L);
    public static void main(String[] args) {
        Activity[] s = Activity.class.getEnumConstants();
        System.out.println(Arrays.toString(s));
        for(int i = 0; i < 20; i++){
            System.out.println(Enums.random(Activity.class));
        }
    }


}
